package com.edmond.feign;

import com.edmond.entity.Menu;
import com.edmond.entity.MenuVO;
import com.edmond.entity.Type;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;

import java.util.List;

@FeignClient(value = "ACCOUNT")        //  在服务配置中心注册的名字
public interface AccountFeign {
    @PostMapping("/account/login/{username}/{password}/{type}")
    Object login(@PathVariable("username") String username, @PathVariable("password") String password, @PathVariable("type") String type);
}

